#ifndef _ODN_PHYS_BONE_H
#define _ODN_PHYS_BONE_H

//Engine headers 
#include "odn_phys_Point.h"
#include "odn_util_Vector3D.h"

using ouden::utility::Vector3D;

namespace ouden
{
	namespace physics
	{
		
		//Container for two dynamic points 
		class ODN_Bone //: public ODN_SceneElement
		{
			
		public:
			
			//TODO: Think about how joint updating will fit in to animation 
			
			//Constrains the two points to the fixed length 
			bool Update()
			{
				
				//TODO: Constraint code 
				
			}
			
		private:
			
			//Fixed length of the bone 
			float length;
			
			//Array of 2 end points 
			ODN_DynamicPoint points[2];
			
		};
		
	}//namespace scene 
} //namespace ouden 

#endif //_ODN_PHYS_BONE_H
